Adding GPDB formula (beta)