improved formatting for custom operations example