save added statistic functions, simplified name extraction