Move certificate of elimination into a separate function