got rid of addunitsarray