* fixed identifier
* calcNN