Resources call in static methods