Adding comments and clean code.