added packet reader