finish the documentation of loop C