add a shadow hack
small refactor to improve the shadows hack