Set up state system