changed to wiringPi