Revisit this when segfault understood