Save/retrieve variables in data-model