added pickles to main.cpp