added old code to communicate with nxt