small changes (queries at once, alerts on error)