wrap code in zizi function