trying with an active wait