Cookbook for dgrant