add gdb formula