implemented query feed