Add prelim analog polling code