Added switching statements for newly handled packets