checking for conflict