refactored notes