improve random option