added room functions