put array with objects