- adds signal handling