adding a more precise resource matching