Why does this also exists in addObjects.js?