added array concept and realiz