New open function