opening and ending