i did this with your code and it seems to work ok. i have to see if it goes wrong again when you play it over and over