All main functions have been finished.