inserting into head