Why converting this to array? Why not return list?