organic compounds
In the title compounds, C13H15N3O, (I), and C13H15N3O2, (II), the dihedral angles between the planes of the phenyl ring and the amide group are 4.1 (1) and 20.7 (1)°, respectively. The molecules adopt a fully extended conformation, aided by intramolecular interactions. The molecular structures of (I) and (II) display different crystal packing and hydrogen-bonding networks.