Created some dynamic queries with Dthirman.