almost done-working on interruption sig