check and wait methods are working