getting rid of gpu method