setup function configured