still working on genall var c