list task in array