added ability to set AltBody in utility function