added severity filtering