while(sc.hasnext()) ?