shadow is set from the beginning.