function settings set initial values