monappend with local variable