Document rest of the code