Adds temporary index