integrate into main.cpp