refactoring like operator