Data pass via function