added param to find floor

added param to find floor so its re-usable for barrels