implement save and open function