Added comments for beginning of code.