now properly counting packets per second