groovy comparison