Use fromArray() to save the given attributes
Format code