correct method call on create index