modifies states-data.js