Simple work function example