added example methods & accompanying unit test