uncomment code that previously segfaulted