added pull_down resistors