in parser function has been done one place for return from the function