added data structure for mailbox (pretty much same as list, but didn't want to mess with that code)