DJR:Made getstats stack based