dirty code, but maybe I'll need some of the cout for testing in the future, so...