New version with capability to remove sprites