changed heap a little