Added code to print when packet comes in