working on fixing shadowcasts