setup basic functions in main.cpp