Modified the operator from the observer structure to directly print the results to output