added schema reader