add wait command