publishing Cafi as global var