Urea, thiourea or derivatives thereof