creating grelations for nroer resources