main.cpp new branch