jb - add dual sensor code