Example on how to use NAI