added template def befor var of superclass