partially done with index, sessions.