before removing shadowcast from sight
begin thrown code