add index view primitive