Refactor the hotel home work