making the comments clear on what the code is doing