Implement create index