object value gathering from array