improved array spec