added stats and other nice things