completed work on AgPal