export k instance with ret