implements sample