added loop for two stations