added submitted parameter to statistic functions