use new resourceLoader generic method