Make task array struct