getting rid of head