Enhanced example with method service