Adding heap operations