working on variant type for forms