main.cpp linking issue was fixed