append remove from each function