Removed duplicated rooms function