severely faster database queries via `scope` queries and `through` relations