crude query functionality added