add handy wait method