Now calculates tempurature