add default index method