beginning pos parsing