added exportStatesAlert