refactored using array_unshift and unset to have the array output start at one instead of zero