implemented simple syntax parser