removed superfluous typename keyword (causes compilation errors on some systems)