Why does this exist in this file and in addObjects.js?