removed wait command