Updated code, added stats space.