simplified parseStatement