now handles excluded resource