add news function.