progress on queries