refactoring, changing the way to run loaders