twing rendering
passing arrays