add some query,publish function