starts the template extended class