removed dynamic payload allocation