added groovy example, not working right now