populate array instead