Updated ndex example, fix