added example1 and example2 which has a fake API