Added first-class function example