loadFromJSON is working