append and remove