load functions return instances of classes