Additional documentation, moving waitForGreen