modifying gpio control