Added ip condition commonly