convert to groovy forms 2