chaned the order of value acquistion (string first)