separated deftable into deftable and defstatistics