gentable: functionally done
gentable: formatted output