allow class to be added and removed from body