removed garbagecollect (it's faster without it... garbagecollection is taking forever).