updated to groovy 2.0