terminal signal added