setting static array length to 2