Parsing in main