added table for summary and txt for mean