work on flexpodarray
rename flexpodarray to array and make it generic