added the possibility of no 'nx' module