Add head and sed method