working on comp_stats, still segfault