hide the packet sequence check
add stdlib.h and call atoi() function to convert string into integer