Added threshold range for tempInsideC