set1 and arrays finished