added simple index
put db in there