a few utilities written in java or groovy