added output to waits