Added comments and intermediate variables