add pp to main.cpp