adding heap code