cleaned up the head