new news and new mk_link and layer_link in class mainfunc