working version which can store and return the CNE results