head=T in read function