Added some docstrings and stats detail