added debug comment for segfault