render simple array loops