add more methods in ResourceLoader