set properties for factory, base and first subclass