Adding groovy implementation