Reenabled main.cpp