abstract template fixed for related inv and pubs