change to get array as param, add render text