added fetch data from schema