updated to int array