Adding version of JohnSL's logic with pulldown logic instead of pull up logic