grails implementation