read carfully
I got idea from a friend of mine more questions soon! (when I have computer time) I copied a little code from scratchmhx