solved the hardware accelaration problem