added pull down resistors to buttons