Yeah that worked lol, thanks :P

I'm gonna ditch this book though because it's either outdated or the code supplied is wrong -.-