refactored Insert into an operation.