Reformated commentary so that the code is easier to understand