added arrays to keep track of stops