this works- reversed key and value in list