Modify if condition