It was created a function to recover data from rooms