Signals initially working. Hack to stop seg fault