implement groovy in groovy