add open/close