The code of first section of the book "Refactor"