Next time, providing a small sample input, and everything else we need to reproduce your problem would be useful. Also, don't put so many blank lines in there, it's hard to read and stuff goes off...