parse statements