added the removeStaticShadow method