array operation is mysterious.