Groovy

This works under groovy and solves issue#9