done loadFromDoc right