add missed settingup function