check for clashes