implemented sample of wizard