based on thermo-optic effects