move objects back into index.js