adds random option with range support