Where is the state pin connect to, the doccument seem not be updated! I promote to new var to compiled but dont know what state is for:)