global serial statistics, remove obsolete code