removed random r