add definitions and download for states