fixed certain function that dealt with signals- James and Bryson (Bryson's computer is broked)