Add formula for gdub.