implemented getFirstConflictingInstruction