tested and debugged the new operation with a generic target
code cleaned