working at previous level, now in C++