I re-coded this all with the help of the video as best i could, you may need to tweak it a bit though