Changes for receiving packets instead of dummy values