inherit templates