Add pop insert and remove to array