Minor changes to values. I realized that value[0] wasnn't called