changing main.cpp to main.h