Synthesis of some functionalized arylaminomethyl-1 ,2,4-triazoles, 1,3,4-oxa- and thiadiazoles.