refactor use of @capacity via @station.capacity in << if condition