library template stub