added another cpp file because im not sure which is the best way to do it