updated version history
modified the open function