adds some heap stuff