group state and transitions