add sketch states switch