adding ns sample