wrote function to get all station ids