added waitTime to cli