setup notebook index