Outputs proper array