implemented head 2