template inheritance is added