Rough draft of the secondPass