changed all() to filter querysets