fixed query for states and added demo environment