Added simple wait method