Yes, both can, but both are not necessary, only 1 is.