http://scratch.mit.edu/projects/rainpool5674/2562439 used this as a refernce not as good as the orginal though