moved setup into setup.js