Using globalvars random