revised HomeActivity to use new instance index