added example program