refactoring show contacts