updated to handle duplicate hotels