Added simple example of send in a function for purity verification