wait should be a kwarg