thinking packet reading logic