added a demo showing the api reading