Updated Random Generator