index design - intermediate