(141407: Changed arraysize to 100000)