change controller code to check if Ladder.order.empty?