resourceLoader, resourceCollection api