added array_to_li Helper