states to session