merging and adding query_by_id