made changes to the code but has a sigsev