try removing the array reasignment