append or insert