began to make the getReservation method