add compiled index