add base_index prototypes