finishing day6, adding handlers for interruptions