Code sample used in Bangalore Groovy meetup on 27-Sep-2014