use A0 instead of d8
fix insertAt arg order