contacts refactoring code completion