wait command added