store states uniquely