added gpio pin to construcotr