started index activity check code