simulating but segfaulting