added def cmd