add loading resource