Booking function in order, still needs improvement, mainly database columns