Finished translation of the code (including English-style punctuations, etc.).