sample with getters