For the Low-level jam, but it isn't low-level(c++)