open and close participants
cleaned up some of the opening and closing code