optimization of functions for result transmissions