have a seg fault, no clue how to debug, pushing what I have