first example with nxt works