added missing typename keyword