added new index stuff