Adding parser code