modded somethings and added implementation step to create subObjects inside of indices