added paste.cpp and .hpp, although I am about to delete them