added the Note class