implemented light removing if in target