seperated spotter.js