making db::query private again