started implementing serial loopback