adds wrapper
compiled index