support convenient array def