clear explaination of code using comments