working on objects.js