modified groovy.