changes to gpio lib