removed bad for loop;