incomplete implementation of pull parser