added stat to gui