add sigmoid function
make warning to hdi function