checking for room objekts