added a new command: "save data"