add continuous queries functions