added example working program