sample of learning contract - Search