trying to append instead of replace when creating data packet