Use ifs on the end of the line and add some comments