make parseStatement static