adding call to parser in the main function