some new function to read N application--still in progress