Sorry, forgot to use $packet instead.