add index attribute to circle