add Patron class