actually filling the mac array