save works correctly