refactoring operators action