Added getRooms method