Creating intermediaryGroovy Groovy