add states to document