how to solve append and delete