new main, old stats, no SEGFAULT