added pinwrite examples