writing customed commands, to be finished.