added comments at waits