Groovy related sample code