added example's source code