tried to complete funspecs for query and query'