I wasn't sure if it was the thermostat or the heating element until I took it apart. Once I got it apart I realized it was the heating element that had gone bad. I went ahead and replaced the heating element and the thermostat just to be sure. I did have to take almost the whole dryer apart to do it, but the how to videos made it so much easier to do!