did logic