implemented  virtual packeting. need to time execution to make sure
everything works well