function_variables

setup functions and variables for function