refactor step to move everything for side shadow in its own function