[#9] Added better example to show functional usage.