added manual query