Reformatted code structure for error, working on fare enquiry