Completed venueFunction library