Added function denan().