added template for dial class