add is conflict function