convert to groovy forms 3