get rid of Array.from