Got rid of toArray