Heat transfer through multiple layers