create index in constructor..