added some gpio stuff