Figured out the nano stuff.  it works fine, but had to review the source to figure out the function signature