updated using lex analyser desc. - 2