wrote some C++, yeehah