# add packet handler