check n and d