adding base template for units