eliminate call to set_head