better structure for the resources