changed if condition