Found some bugs in the addTo function. Mysterious bugs relating to the fade out function were discovered when random integers between 200 and 500 were arguments. It must be that some numbers do not work, but why, remains unknown to me