arralistst to arrays