added template for characters