automated packet handling