adding gpio stuff from earlier to repo