removed random tensor functionality