got test4b to compile, got segfault