base model set index