Had posted this in the tutorial thread. Mixed it up a little, but followed the same basic principle of the tut.