added state system