adding pull-down resistors