CRT?device programming and optimization