added syntax analyzer