redoing transition from cpu to gpu