if(count==2) was getting problem with positions,90,180,270 lines #solved about 60%