more changes to heap