added "open or die" statement