student note refactoring 2nd