Wrote a quick and dirty because I saw a video on youtube about one.