cleaned and documented