First worked version without stats.