get random to work