New refs and resolve duplicates with petsc