working on scheme data reader