Implement sample of a simple decider