adding some waits.