adds head method