working as groovy