added waitForEadge method