Solution with comments