stub private api example