changed gpio pin to 4