thanks it got rid of the segmentation fault however now it says
something like

Record found at index -1
with some weird charcters and 42 P 00/-173943938493/27