changed ns for main