prefer arrayFromList instead