added another random algorith but isnt better... damn