Fixed random

Working now