added a new mailbox function