I don't understand how these queries work, so I'll just trust that this stuff is right. :)