randomFloor method added