with filtering and pagination working