library template