change the implementation of the mailbox. Change the test cases!!!!

NEW THE ARGUMENTS PLZ!!!!!!!!
DO NOT OVERWRITE IT!!!!!!!!!!!