apply grails basic example