temp changes made on export.class.table 03/03/2014 have to check carefuly