added random to get correct results