using /resources as resourcePath