added basic skeleton of to-be-implemented functions in main.h