testing new logic for room insertion