added example functionality