adding indices