refactoring and load() method return values check for successfulness