working on groovy transition