added async capability for querying views