client demo code had some wrong API spellings