sample code to play with groovy