name changes (readability)
changed interrupted to be a session parameter.