settings to object