adding c array builder from lua scrits