finding resources in enclosing modules
resources reworked