add the resource reader