edits to GetStats