added GDB formula and audited all