added getConfig for futur save methods