Add function trimStation.