changed resource loading