added gpio setup stuff