Added filter using if