wrote some profoundly broken room generating code