added end stats formatted everything