The invention relates to a compound of the formula (I) as novel inhibitor of N-acylphosphatidylethanolamine phospholipase D (NAPE-PLD), and to use thereof for the prophylaxis or treatment of diseases associated with NAPE-PLD.whereinin a ring A, X1 is N, or CR4; X2 is N or CR5; X3 is N or CH;with the proviso that at least one of X1 and X3 is N.