added initialize def to class