102 mirror, refactoring