got the signal handler to work. Need to make own class.