initalized main.cpp