added example for simplest delegate implementation