First stab at edit index