begin to add heap