solved data-passing