removed random argument