Updated with alternate array