mode for Groovy