adjusted makedb for nmda