better array creation