Simplify code sample