tutorial: make save action work