Modified if condition