added room size validation