library template for hi