now works for any number of stations + jslint