added seek/tell