Chapter 2 Mailbox class