Finished some function.