24 should be a constant or macro as well