add cache and index annotation