Sorted final design of parser