simiplified if statement
random does a redirect