Template And Inherit