report finished
changing some variable names and the documentation