function setup

setup function steps