Thanks Melaine. I couldnt find an example that used arrays with the shift commands. Btw, sweet tip on the (). That makes it a little easier to read.

The code was something I typed up real fast, and not the actual code. This explains the bad formatting