ddptools formula added