Working with parser