adding slug-based query