sketch seems to skip lines..

If you want us to look at the modified code, post it again.