     double* gm = new double[size];      
   
     CUDACLAW5_STEP2(&maxm,&meqn,&maux,&mbc,&mx,&my,qold,aux,
-                    &dx,&dy,&dt,&cflgrid,fluxes->fm,fluxes->fp,
-                    fluxes->gm,fluxes->gp,cuclaw5_vt->fort_rpn2,
+                    &dx,&dy,&dt,&cflgrid,fm,fp,gm,gp,
+                    cuclaw5_vt->fort_rpn2,
                     cuclaw5_vt->fort_rpt2,block_corner_count,&ierror);    
     fclaw2d_timer_stop (&glob->timers[FCLAW2D_TIMER_CUDA_KERNEL1]);    
 

    cudaEventRecord(start);
    fclaw2d_timer_start (&glob->timers[FCLAW2D_TIMER_EXTRA1]);       
    cudaMemcpy(fluxes->qold_dev, qold,     fluxes->num_bytes, cudaMemcpyHostToDevice);
    cudaMemcpy(fluxes->fm_dev, fluxes->fm, fluxes->num_bytes, cudaMemcpyHostToDevice);
    cudaMemcpy(fluxes->fp_dev, fluxes->fp, fluxes->num_bytes, cudaMemcpyHostToDevice);
    cudaMemcpy(fluxes->gm_dev, fluxes->gm, fluxes->num_bytes, cudaMemcpyHostToDevice);
    cudaMemcpy(fluxes->gp_dev, fluxes->gp, fluxes->num_bytes, cudaMemcpyHostToDevice);
    fclaw2d_timer_stop (&glob->timers[FCLAW2D_TIMER_EXTRA1]);    
    cudaEventRecord(stop);
    cudaEventSynchronize(stop);

    cudaEventDestroy(stop);

    fclaw2d_timer_start (&glob->timers[FCLAW2D_TIMER_CUDA_KERNEL1]);  
    delete [] fp;
    delete [] fm;
    delete [] gp;
    delete [] gm;
    fclaw2d_timer_stop (&glob->timers[FCLAW2D_TIMER_CUDA_KERNEL1]);  


