Add anonymouse function sample