Completed If Temperature application