@tparam must be in the class description, not the constructor