Me again, adding comments and documentation.