typo with template classes. working toresolve issue #4