getstats is now working