add data and result schema