separate resources from sources