connected cuda to main in spikes