Filter Option

made int p =0 since was causing error