by using thermal effects