removed resource layer, tests pass