handle append