answered 3rd question, updated notes