Template class, HW corrections.