Making groovy work