open and close all