did some opening modifications and deletions