removing duplication - extracting operation method to strategy pattern classes