adding query calls