checking online states