adding some room logic