waitForAttribute added