implemented createReservation