but how do i populate it from an array?