add some core command function