transaction function input elements defined as variant type too