annotation template, index method modify