starting parser code