Add states to view