add wait example