did some heap stuff