added multiple floors support