modified nosql interface