changed name of set defaults function