checkbox filter functionality, part 1