removed waits snippet