showing a higher order proc. example