added schema driven sample