Changed the if statements to an array and pushes to three different boxes

the inbox still does not update